from flask import Blueprint

# 创建蓝图
article_bp = Blueprint('article', __name__, url_prefix='/article')

# 导入视图
from .views import *

# 初始化函数
def init_article(app):
    # 注册模型
    from .models import Article
    # 注册蓝图
    app.register_blueprint(article_bp) 